package com.ahnu.tongue.dao;

import com.ahnu.tongue.entity.User;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

@Mapper
public interface UserMapper {
    User findByOpenId(@Param("openId") String openId);
    
    int insert(User user);
    
    int update(User user);
    
    User findById(@Param("id") Long id);
} 